/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cms.dataaccess;

import cms.exceptions.HibernateAccessLayerException;
import dto.User;
import java.util.List;

/**
 *
 * @author TauPo
 */
public interface UserDAO {
 public void deleteUser(User usr) throws HibernateAccessLayerException ;
 public void updateUser(User usr) throws HibernateAccessLayerException ;
 public void insertUser(User usr) throws HibernateAccessLayerException ;
 public List<User> findAllUser() throws HibernateAccessLayerException ;
 public User findUser(String UserName) throws HibernateAccessLayerException;
 public List<User> findByCustomizeQuery (String queryString) throws HibernateAccessLayerException ;
 public boolean Login(String username, String password, String role);   
}
